搜索资源列表
串口缓冲区编程
- 波特率可变;中断方式接收、发送;收发独立8字节缓冲区;可选择是否在满缓冲区后丢弃数据-variable baud rate; Disruption to receive, send; TX independent 8-bit byte buffer; the choice of whether the buffer zone after the age of discarded data
PC8251
- 本串行通信程序利用汇编语言通过BIOS中断调用和DOS功能调用实现PC机双机串行通信。其中,上位机和下位机串行口均为辅串口COM2(口地址为2FXH),对外用9针连接器与令一台PC机连接;BIOS通过“INT 14H”4个中断服务子程序,分别完成串口初始化编程、发送一帧数据、接受一帧数据以及测试通信线状态。本程序分为PC机串口自动测试程序(目的是测试串口好坏)和PC机全双工双机通信程序两个部分。-the serial communications procedures through the u
moder
- moder 51汇编程序框架 D4为串口发送中断指示灯; D5为外部中断1指示灯; D6为外部中断0指示灯; D7为串口接收中断指示灯; D8为定时器指示灯;-moder 51 D4 Series procedural framework for the serial interrupt this light; D5 for external interrupt a lamp; D6 for external interrupt 0 lamp; D7 for the se
C51test
- 单片机C51串口中断接收和发送测试例程可以用来测试51单片机的中断接收 //和查询发送,另外我觉得发送没有必要用中断,因为程序的开销是一样的 -80C51 Serial interrupted receive and send test routines can be used to test 51 MCU interrupt reception / / Send inquiries and, I also think that this is not necessary for d
spidmadriver
- 本驱动程序在linux2.6.17中测试通过。yangxing msn:lelma_yx@hotmail.com 希望对SPI操作的朋友有所帮助。 一、工作方式: 从设备:SPI为MASTER模式 S3C2410:SPI为SLAVE模式+DMA 二、工作流程 1.S3C2410从接收:当从设备发送数据时,S3C2410利用DMA方式收数,收到指定长度的数据,则进入DMA中断,将接收的数据拷出。 2.S3C2410从发送:当S3C2410需要发送,首先由RTS请求
comin
- LPC串口初始化源代码,含发送接收和中断处理程序-LPC serial port initialization source code, including receiving and sending interrupt handling procedures
42S
- 串行口通讯,实现由校验位的发送和接收,查询发送,中断接收-serial port communications, make the check-sending and receiving inquiries sending, receiving suspended
UART_leochin
- 2个51单片机实现UART通信 程序分master和slave2个部分。 master等待按键(SW1),按键按下后将数据发送到slave单片机,slave单片机中断接受查询发送,将收到的数据发送回master,master中断接受,收到后将LED灯点亮。-two 51 MCU UART communication procedure, and the master slave2 parts. Wait for the master keys (SW1), press the butto
serial_1
- dos下串口测试程序,利用中断进行发送数据-dos testing procedures, the use of data for transmission interruption
UCOSII2.83_S3C44B0_LIYUTAI
- 该UCOSII_2.83移植为基于立宇泰S3C44B0X的专业板,外部晶振为8MHZ,内部频率为MCLK=64MHZ,串口波特率为115200,串口0。四个Exint4,Exint5,Exint6,Exint7,外部中断每按一次累加一次并把数据发送上来(直接在超级终端中使用),同时开了串口0接收中断:串口0把接收到的数据仍旧发送上来,同时四个任务发送Task0,Task1,Task2,Task3 外部中断和串口接收中断采用我们一般使用的模式,只是在进外部中断和串口接收中断时关总中断,
C51_Serial
- 单片机C51串口中断接收和发送测试例程,一个小的测试程序-80C51 Serial interrupted receive and send test routines, a small test procedures
ak1
- 一些应用中,经常要用到双串口,但是一般单片机只提供一个串口,其实完全可以用普通I/O口模拟一个串口。以下的程序是我编写的模拟串口程序,程序中使用了单片机的定时器0,和INT0中断。数据的发送和接收由中断程序自动进行。程序已经过AVR仿真器仿真和实际烧片使用,证明可靠。有一点需要说明的是,此模拟的串口为半双工方式。 主程序中,单片机将标准串口设置为115200bps,将模拟串口设置为19200bps。单片机将标准串口收到的数据从模拟串口发送出去,将模拟串口接收到的数据从标准串口发送回来。-s
2113_SPI
- 用2210和2131通过SPI接口进行通信,2210做主机发送数据,2131用中断形式接收数据-with 2210 and 2131 through the SPI interface communication, 2210 to do this mainframe data, 2131 interrupted receive data form
Modbus_ASCII
- 44B0的串口接收发送程序 **** 现在共享这样的代码有些过时了,但这是我参考很多例子才编写出来的。集合了很多优点:采用环形缓冲机制;读数据时不必关接收中断(没有几个人能实现的),所以不会存在数据丢失的可能;以数据帧为单位接收发送;能够缓冲几千个数据帧(由FrameLen定义)。注:本来是为Modbus协议而编写的,后来简化了校验和Modbus规范。-44B0 receiving this procedure **** now sharing some of the outdated code
fasong1
- 串口调试程序,采用中断方式,若从调试助手发送一个字符或数字给单片机,则单片机转发回来。-serial debugging procedures, interrupt, from the Help Send a debugger characters or figures for the microprocessor, SCM is transmitted back.
mc9s08TIMoverflow
- 利用定时器溢出中断修改时间,并发送新时间-use overflow timer interruption modification time, and this time the new
mc9s12SIC
- 程序描述:把收到的数据发送回去 * *目 的:初步掌握利用中断方式进行串行通信编程-procedures Descr iption : The received data sent back * * Purpose : Preliminary master the use of the interruption mode for serial communication program
multint2
- ti提供的发送的多中断的例程,经过验证,没有问题!-ti provided by this multi-interrupted routines, after verification, no problem!
PIC_STUDY
- 完整的PIC学习程序示例 软件功能: RT1602C驱动 UART串口输出,波特率为19200 按键扫描: 键1控制LCD的显示状态,接收状态或是发送状态 键2循环控制UART将要输出的子串口 AD转换功能 UART串口接收中断 TIME1定时器中断 具体请参考硬件连接图-integrity of the learning process software examples : RT1602C driven serial UART output. ba
comdraw
- 串口发送接收数据。可配置端口,波特率等。 发送可选择ASCII方式或HEX方式。 中断方式接收数据。 可以通过ADC和MCU可以把数据通过 串口直接发送到PC上让MATLAB分析-receiving data. Configurable ports, baud rate, and so on. Send option HEX or ASCII mode. Interrupt receiving data. Through the MCU and ADC data can b